package com.achang.achangmall.member.feign;

import com.achang.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;

/******
 @author 阿昌
 @create 2021-09-21 15:11
 *******
 */
@FeignClient("achangmall-coupon")
public interface CouponFeignService {

    final String headUrl = "/coupon/coupon";

    @GetMapping(value = headUrl+"/member/list")
    public R memberCoupon();
}
